POV-Ray : Newsgroups : povray.general : does #break work as intended with #if statements? : Re: does #break work as intended with #if statements? Server Time
5 Aug 2024 16:17:29 EDT (-0400)
  Re: does #break work as intended with #if statements?  
From: Christoph Hormann
Date: 19 Aug 2002 14:33:07
Message: <3D6139E2.C69ADD83@gmx.de>
Shay wrote:
> 
> I expected that #break would ignore the #end in an #if statement and proceed
> to the #end of the current #while loop, but this is not the case. Is this
> intended?
> 
> [...]

Why do you think #break is valid in #while or #if?

#break can only be use in #switch.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.